$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2008/09/20 20:26:05 steven Exp $
--- CMakeLists.txt.orig	Fri Sep  5 22:01:55 2008
+++ CMakeLists.txt	Wed Sep 17 17:31:09 2008
@@ -317,9 +317,12 @@ SET(libnipper_SRC
 
 # Build the library...
 ADD_LIBRARY(nipper SHARED ${libnipper_SRC})
+SET_TARGET_PROPERTIES(nipper PROPERTIES
+	SOVERSION ${LIBnipper_VERSION}
+)
 
 # Install...
-INSTALL(TARGETS nipper LIBRARY DESTINATION /usr/lib)
-INSTALL(FILES nipper.conf DESTINATION /etc)
-INSTALL(FILES libnipper.h config.h DESTINATION /usr/include/libnipper/)
-INSTALL(FILES man/nipper.conf.5 DESTINATION /usr/share/man/man5)
\ No newline at end of file
+INSTALL(TARGETS nipper LIBRARY DESTINATION ${LOCALBASE}/lib)
+INSTALL(FILES nipper.conf DESTINATION ${LOCALBASE}/share/examples/libnipper)
+INSTALL(FILES libnipper.h config.h DESTINATION ${LOCALBASE}/include/libnipper/)
+INSTALL(FILES man/nipper.conf.5 DESTINATION ${LOCALBASE}/man/man5)
